package study.javaee.practice.entity;

import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;

public class ProjectMember implements Serializable {
    @ApiModelProperty(value = "已通过的项目（团队）id")
    private Integer projectId;

    @ApiModelProperty(value = "团队中的科研人员id")
    private Integer userId;

    private static final long serialVersionUID = 1L;

    public Integer getProjectId() {
        return projectId;
    }

    public void setProjectId(Integer projectId) {
        this.projectId = projectId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", projectId=").append(projectId);
        sb.append(", userId=").append(userId);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}